package Work0514;

/**
 * 父类手机
 * 
 * @author Y
 *
 */
public abstract class Phone {
	private String brand;// 品牌
	private String model;// 型号

	public Phone(String brand, String model) {
		this.brand = brand;
		this.model = model;
	}

	public void callUp() {
		System.out.println("打电话");
	}

	public void emit() {
		System.out.println("发短信");
	}

	public void show() {
		System.out.println(brand + model + "可以:");
		callUp();
		emit();
	}
}
